package com.zimmur.service.designer;

import java.util.Map;

import com.zimmur.model.account.view.ConcernView;
import com.zimmur.model.desiger.DesigerFav;
import com.zimmur.tools.PageUtil;

public interface IDesignerFavService {

	/**
	 * 
	 * @param createUserId 关注者id
	 * @param userId 被关注者id
	 * @return
	 */
	DesigerFav selectDesigerFav(long createUserId,long userId);
	
	int updateDesigerFav(DesigerFav desigerFav);
	
	int insertDesigerFav(DesigerFav desigerFav);
	
	int countByCreateUserId(long createUserId);
	
	/**
	 * 关注衣匠页面
	 * @param createUserId
	 * @return
	 */
	Map<String, Object> selectConcernIndex(long createUserId);
	/**
	 * 查询已关注的衣匠
	 * @param createUserId
	 * @return
	 */
	PageUtil<ConcernView> selectDesigerByDesigerFav(long createUserId,int pageNo);
}
